package hg.demo.mybatis.plus.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import hg.demo.mybatis.plus.condition.UserCondition;
import hg.demo.mybatis.plus.entity.UserEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface UserMapper extends BaseMapper<UserEntity> {

    List<UserEntity> list(@Param("condition") UserCondition condition);
}
